﻿@model IEnumerable<NewRen.Models.BrowseRecord>
@using NewRen.Models;
@using NewRen.Models.ViewModel
@{
    vUser user = ViewBag.User as vUser;
    ViewBag.Title = "消息记录";
    Layout = "~/Views/Shared/_Layout_Show.cshtml";
}
<div class="ucenter-left account-left-border">
    <div class="ucneter-l-head cf">
        <div class="ulhead-headicon">
            @if (user.Picture == null)
            {
                <img src="/Images/userphoto.png" width="50" height="50"
                     alt=@user.UserName style="border-radius:50%;" />
            }
            else
            {
                <img src="/User/ShowPicture/@user.ID" width="50"
                     alt=@user.UserName height="50" style="border-radius:50%;" />
            }

        </div>
        <div class="ulhead-info">
            <p class="ulhead-info-uname">@user.UserName</p>

            <div class="ulhead-info-tool">
                <a class="ulhead-icon icon-lock ucenter-mail " href="/User/PwdEdit/@user.ID" title="修改密码">
                    <div class="ucenter-mail-tip">修改密码</div>
                </a>
                <a href="/User/Edit/@user.ID"
                   class="ulhead-icon icon-setting ucenter-mail" title="设置个人信息"></a>
            </div>
        </div>
    </div>
    <div class="ucenter-l-list">
        <ul class="ullist-ul">
            <li id="uclick">
                <a href="/User/Show/@user.ID">个人中心</a>
            </li>
            <li id="uclick2">
                <a href="/User/DescriptionShow/@user.ID">个人概述</a>
            </li>
            <li id="uclick3">
                <a href="/User/Edit/@user.ID">账号设置</a>
            </li>
            <li id="uclick4">
                <a href="/User/IntegrationShow/@user.ID">支出明细</a>
            </li>
            <li id="uclick5">
                <a href="/User/CollectManager/@user.ID">我的收藏</a>
            </li>
            <li id="uclick6" class="active">
                <a href="/User/BrowseRecord/@user.ID">浏览记录</a>
            </li>
           <!--<li id="uclick7">
                <a href="/User/PayMoney/@user.ID">充值</a>
            </li>-->
        </ul>
    </div>
</div>
<div class="ucenter-right cf">
    <div class="ucenter-right-head"><h3>浏览记录</h3></div>
    <div class="ucenter-right-body">
        <div class="tabbed">
            <div class=" tabGroup" style="display:block; margin-left:50px;">
                
                @foreach (var item in Model)
                {
                     <a href="@item.URL" style="font-size:medium">
                         <p style="height:10px"><span>@item.Title</span>
                         <span style="margin-left:10px">@item.Time</span></p><br>
                     </a>
                    
                }

            </div>
        </div>
    </div>
    @Html.MakePager()
</div>
